#include <SDL/SDL.h>
#include "game.h"

int event_process(Game *g, SDL_Event *ev)
{
    while(SDL_PollEvent(ev)) {
        switch(ev->type) {
            case SDL_KEYDOWN: quit_game(g);
        }
    }

    return 0;
}

